package com.github.chirspan.xaas.log.model;

import com.github.chirspan.xaas.mybatis.model.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @Description: 系统操作日志
 */
@Data
@ToString(callSuper = true)
public class ApiLog extends BaseModel {

    @ApiModelProperty(value = "日志类型")
    private String type;

    @ApiModelProperty(value = "日志标题")
    private String title;

    @ApiModelProperty(value = "操作ip地址")
    private String remoteAddr;

    @ApiModelProperty(value = "用户代理")
    private String userAgent;

    @ApiModelProperty(value = "请求uri")
    private String requestUri;

    @ApiModelProperty(value = "请求uri")
    private String method;

    @ApiModelProperty(value = "数据")
    private String params;

    @ApiModelProperty(value = "执行时间")
    private Long time;

    @ApiModelProperty(value = "异常信息")
    private String exception;

    @ApiModelProperty(value = "应用标识")
    private String serviceId;

}
